<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			function getUrl(){
				let url= window.location.href;
				alert(url);
			}
			function openPzhu(){
				window.location.href="https://www.pzhu.cn"
				
			}
		</script>
		
	</head>
	<body>
		<button onclick="getUrl()">获取当前URL</button>
		<button onclick="openPzhu()">跳转到攀枝花学院</button>
		
	</body>
</html>
